<%@ page import="java.util.ArrayList" %>
<%@ page import="edu.neu.javaweb.bean.User" %><%--
  Created by IntelliJ IDEA.
  User: yukunpeng
  Date: 2021/5/17
  Time: 16:14
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <meta http-equiv="cache-control" content="no-cache">
        <meta name="viewport" content="width=device-width">
        <link rel="stylesheet" href="../static/css/mdui.min.css" crossorigin="anonymous" />
        <script src="../static/js/mdui.min.js" crossorigin="anonymous"></script>
        <title>User</title>
    </head>>
<body>
    <br/>
    <h3 align="center">User Information</h3>
    <hr/>
    <br/>
    <% ArrayList<User> list = (ArrayList)request.getAttribute("list"); %>
    <table align="center" border="1">
        <% for(User user : list){ %>
            <tr>
                <th><%=user.getUserName()%></th>
                <td><%=user.getPassWord()%></td>
            </tr>
        <% } %>
    </table>
</body>
</html>
